package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
//配置核心类
@Configuration
//扫描com.itheima 下的类
@ComponentScan("com.itheima")
//扫描properties配置文件
@PropertySource("classpath:jdbc.properties")
public class SpringConfig {

}
